import { reactive, ref, watch } from 'vue';

export default function importConfig() {
  const base = reactive<any>({
    categorySelected: '1',
    categoryList: [
      {
        name: '打磨',
        value: '1',
      },
      {
        name: '线切割',
        value: '2',
      },
      {
        name: '采购与统计',
        value: '3',
      },
      {
        name: '三坐标测量',
        value: '4',
      },
      {
        name: '计划调度',
        value: '5',
      },
      {
        name: '物料转运',
        value: '6',
      },
      {
        name: '质量管理',
        value: '7',
      },
      {
        name: 'CAM 加工',
        value: '8',
      },
      {
        name: '工艺组',
        value: '9',
      },
    ],
  });

  const init = () => {};

  return {
    base,
    init,
  };
}
